<?php
include("../../config.php");

    $result = mysql_query("select * from link_websites where link_websites_status=0 and link_websites_categoriesid=1 order by link_websites_sortorder asc",$con);



	while(($row=mysql_fetch_assoc($result)))

	{

	  $str.='<back><image><![CDATA[../'. $row['link_websites_img'] .']]></image></back>';

    }

    $str.='</images>';

  



    $Handle = fopen('../../slide_fade/data.xml', 'w');

    fwrite($Handle, $str);  

    fclose($Handle);

?>

